//
//  ASSession.h
//  XSignService
//
//  Created by 吴双 on 2023/1/23.
//

#import <Foundation/Foundation.h>

@class ALTAppleAPISession, ALTAccount, ALTTeam, ALTDevice;
@class ASTeamSession;

@interface ASAccountSession : NSObject

@property (nonatomic, strong, readonly) ALTAppleAPISession *session;

@property (nonatomic, strong, readonly) ALTAccount *account;

@property (nonatomic, strong, readonly) NSArray<ALTTeam *> *teams;

- (ASTeamSession *)teamSessionForTeam:(ALTTeam *)team;

@end



@interface ASTeamSession : NSObject

@property (nonatomic, strong, readonly) ALTAppleAPISession *session;

@property (nonatomic, strong, readonly) ALTAccount *account;

@property (nonatomic, strong, readonly) ALTTeam *team;

@end

